package com.cmc.cloud.cmclink.doc.vo.voyagebsavo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 状态更改
 *
 * @author 周贤
 * @date 2025/7/3
 */
@Schema(description = "管理后台 - bsa （base space Allocation） 维护更新 开关舱状态")
@Data
@EqualsAndHashCode()
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class VoyageBsaStatusReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "666")
    @NotNull(message = "{VoyageBsaStatusReqVO.id.NotNull}")
    private Long id;

    @Schema(description = "全船接载开关", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "{VoyageBsaStatusReqVO.bookingOpenStatus.NotNull}")
    private String bookingOpenStatus;
}
